package org.jmh.gift.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class UpdateCountDTO {
    @NotNull(message = "请选择要操作的购物车数据!")
    private Long skuId;

    private Long userId = 16L;

    @Min(value = 1,message = "请正确填写修改后的数量")
    private Integer num;

}

